#!/bin/bash

# 给每一行加上引号
cat testdata/a.txt | egrep -o '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}:[0-9]{4,}' | awk '{print "\""$0"\""}'